package com.yozinga;

import android.os.Bundle;
import android.support.v4.app.FragmentTransaction;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.yozinga.fragment.FavouritesFragment;

public class Favourites extends BaseActivity{

	@Override
	protected void onCreate(Bundle arg0) {
		super.onCreate(arg0);
		setContentView(R.layout.activity_favorites);

		((ImageView) findViewById(R.id.ivSort)).setVisibility(View.VISIBLE);
		((TextView) findViewById(R.id.screenName)).setText("Favourites");
		
		FavouritesFragment merchantInfoFragment = new FavouritesFragment();
		merchantInfoFragment.setArguments(getIntent().getExtras());
		FragmentTransaction transaction = getSupportFragmentManager().beginTransaction();
		transaction.replace(R.id.flFragmentHolder, merchantInfoFragment);
		transaction.commit();
	}
}
